package com.ruoyi.kiku.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 微博小号详情对象 kiku_weibo_trumpet_detail
 *
 * @author TT
 * @date 2025-03-04
 */
public class KikuWeiboTrumpetDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 正文 */
    @Excel(name = "正文")
    private String content;

    /** 原始图片 URL */
    @Excel(name = "原始图片 URL")
    private String originalImageUrl;

    /** 视频 URL */
    @Excel(name = "视频 URL")
    private String videoUrl;

    /** 发布日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishDate;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long likeCount;

    /** 评论数 */
    @Excel(name = "评论数")
    private Long commentCount;

    /** 转发数 */
    @Excel(name = "转发数")
    private Long repostCount;

    /** 话题 */
    @Excel(name = "话题")
    private String topic;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setOriginalImageUrl(String originalImageUrl)
    {
        this.originalImageUrl = originalImageUrl;
    }

    public String getOriginalImageUrl()
    {
        return originalImageUrl;
    }
    public void setVideoUrl(String videoUrl)
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl()
    {
        return videoUrl;
    }
    public void setPublishDate(Date publishDate)
    {
        this.publishDate = publishDate;
    }

    public Date getPublishDate()
    {
        return publishDate;
    }
    public void setLikeCount(Long likeCount)
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount()
    {
        return likeCount;
    }
    public void setCommentCount(Long commentCount)
    {
        this.commentCount = commentCount;
    }

    public Long getCommentCount()
    {
        return commentCount;
    }
    public void setRepostCount(Long repostCount)
    {
        this.repostCount = repostCount;
    }

    public Long getRepostCount()
    {
        return repostCount;
    }
    public void setTopic(String topic)
    {
        this.topic = topic;
    }

    public String getTopic()
    {
        return topic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("content", getContent())
            .append("originalImageUrl", getOriginalImageUrl())
            .append("videoUrl", getVideoUrl())
            .append("publishDate", getPublishDate())
            .append("likeCount", getLikeCount())
            .append("commentCount", getCommentCount())
            .append("repostCount", getRepostCount())
            .append("topic", getTopic())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
